package com.chinasoft.workmanage.login.service.impl;

import com.chinasoft.workmanage.login.dao.UserMapper;
import com.chinasoft.workmanage.login.model.User;
import com.chinasoft.workmanage.login.service.LoginService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by Administrator on 2017/3/30.
 */
@Service("loginService")
public class LoginServiceImpl implements LoginService{
    @Autowired
    private UserMapper userMapper;
    @Override
    public boolean login(User user) {
        boolean login = userMapper.login(user);
        return login;
    }
}
